package Work20241116;

/**
 * @author zdl
 * @date 2024/11/16
 */
public class Demo11 {
    public static void main(String[] args) {
        /**
         *          *
         *          * *
         *          * * *
         *          * * * *
         *          * * * * *
         *          * * * * * *
         *          * * * * * * *
         *          * * * * * * * *
         */

        for (int i = 0; i < 8; i++) {
            for (int j = 0; j < i+1; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
